<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script>
    //1.参数问题
    //1个参数
    const power = num => {
        return num * num
    }
    //2个参数
    const sum = (num1, num2) => {
        return num1 + num2
    }
    //2.函数代码块中一行代码简写
    const mul = (num1, num2) => num1 * num2
    console.log(mul(20, 30));
</script>
</body>
</html>